package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/10 .
 */

public class CouponInfo {

    private String message;
    private int status;
    private String coupon_type;
    private String title;
    private String discount; //折扣 0 -100
    private String reduce; //减少
    private String brand_name;

    public static CouponInfo objectFromData(String str) {

        return new Gson().fromJson(str, CouponInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCoupon_type() {
        return coupon_type;
    }

    public void setCoupon_type(String coupon_type) {
        this.coupon_type = coupon_type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getReduce() {
        return reduce;
    }

    public void setReduce(String reduce) {
        this.reduce = reduce;
    }

    public String getBrand_name() {
        return brand_name;
    }

    public void setBrand_name(String brand_name) {
        this.brand_name = brand_name;
    }
}
